// components/RefundRecordCard/index.js
Component({
  properties: {
    cardInfo:{
      type:Object
    }
  },
  data: {
    cardNumLast4:''
  },
  attached:function(){
    let tmp1 = this.properties.cardInfo.bc_bank_number.substring(this.properties.cardInfo.bc_bank_number.length - 4)
    this.setData({
      cardNumLast4: tmp1
    })
  }
})
